package com.ruoyi.web.controller.common;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BindCodeDto extends BaseDto {

    @ApiModelProperty(value = "随机码")
    @NotBlank(message = "随机码不能为空")
    private String randomSecretKey;
    @ApiModelProperty(value = "谷歌验证码")
    @NotBlank(message = "谷歌验证码不能为空")
    private String googleCode;
}
